package videos

import (
	"awang/config/db"

	"github.com/jinzhu/gorm"
	_ "github.com/jinzhu/gorm/dialects/sqlite"
)

type Video struct {
	gorm.Model
	Name  string
	Urls  string
	Md5   string
	Size  string
	Image string
}

// func (*Video) get_videos
func init() {
	m_db := db.Connect()
	m_db.AutoMigrate(&Video{})
}
